package com.ksd.web.controller.m3beans;

import com.ksd.common.config.PlayControlConfig;
import lombok.Data;

@Data
public class M3Request {
    private String method;
    private StartChannelParameter parameters;
    private String  token;
    private Integer type;
    private String user;

    public static M3Request getM3RequestInfo(String method) {
        M3Request m3Request = new M3Request();
//        m3Request.setToken("weiyun");
//        m3Request.setUser("weiyun");
        m3Request.setToken(PlayControlConfig.getToken());
        m3Request.setUser(PlayControlConfig.getUser());
        m3Request.setType(1);
        m3Request.setMethod(method);

        return m3Request;
    }
}
